// Get 请求
function userGetFn(ctx){
    ctx.body = 'User Get Ok!'
}

// Post 请求
function userPostFn(ctx){
    ctx.body = 'User Post Ok!'
}

// Put 请求
function userPutFn(ctx){
    ctx.body = 'User Put Ok!'
}

// Delete 请求
function userDeleteFn(ctx){
    ctx.body = 'User Delete Ok!'
}

export  default [
    {method:'get' , path:'/user' , fn: userGetFn},
    {method:'post' , path:'/user' , fn: userPostFn},
    {method:'put' , path:'/user' , fn: userPutFn},
    {method:'delete' , path:'/user' , fn: userDeleteFn}
]


